﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhao.Models.DTO
{
    /// <summary>
    /// 审核请求参数
    /// </summary>
    public class ReviewRequestDto
    {
        /// <summary>
        /// 申请记录ID
        /// </summary>
        [Required(ErrorMessage = "申请ID不能为空")]
        public int ApplicationID { get; set; }

        /// <summary>
        /// 审核状态  1: 待审核,3: 待开通账号,5:'已完成, 7: 驳回审核,9: 重新提交待审
        /// </summary>
        [Range(1,9, ErrorMessage = "无效的审核状态")]
        public short Status { get; set; }

        /// <summary>
        /// 审核意见（拒绝时必填）
        /// </summary>
        public string? ApprovalOpinion { get; set; }
    }
}
